Automattic\Jetpack\My_Jetpack\Products\Jetpack_Ai A

Total Complexity 68
Dependencies 6
Dependents 1
Total lines 575
Lines of code 295
Logical lines of code 97
Comment lines 204
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_pricing_for_ui_by_usage_tier()
A
47 12 35
get_ai_assistant_feature()
S
56 6 19
get_features_by_tier()
S
44 3 57
add_ai_block()
S
62 6 10
get_next_usage_tier()
S
62 5 11
get_pricing_for_ui()
S
51 3 30
get_current_usage_tier()
S
62 4 11
is_upgradable()
S
66 4 8
get_features_by_usage_tier()
S
55 2 21
admin_enqueue_scripts()
S
59 1 17
get_long_description_by_usage_tier()
S
65 2 8
get_tiers()
S
72 1 6
extend_plugin_action_links()
S
74 1 4
is_site_connected()
S
80 1 3
get_plugin_filename()
S
80 1 3
is_plugin_active()
S
80 1 3
is_plugin_installed()
S
80 1 3
get_manage_url()
S
81 1 3
get_post_activation_url()
S
81 1 3
get_post_checkout_url()
S
81 1 3
get_wpcom_bi_yearly_product_slug()
S
81 1 3
has_required_plan()
S
80 1 3
get_wpcom_monthly_product_slug()
S
81 1 3
get_wpcom_product_slug()
S
81 1 3
get_plugin_slug()
S
80 1 3
get_name()
S
81 1 3
get_features()
S
76 1 4
get_long_description()
S
76 1 4
get_description()
S
79 1 3
get_title()
S
81 1 3
get_info()
S
72 1 5